package com.zhifei.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhifei.system.domain.PersonProjectEntity;
import com.zhifei.system.domain.vo.PersonProjectUserVo;
import com.zhifei.system.domain.vo.PersonProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PersonProjectMapper extends BaseMapper<PersonProjectEntity> {

    List<PersonProjectVo> queryPage(Page page, @Param("customerName")String customerName, @Param("projectName")String projectName,
                                    @Param("orderNo")String orderNo,@Param("orderStartDate")String orderStartDate, @Param("orderEndDate")String orderEndDate);

    List<PersonProjectUserVo> pageUser(Page page, @Param("deptId")String deptId, @Param("userStatus")Integer userStatus);

}
